package com.irdstudio.efp.e4a.service.domain;

import com.irdstudio.basic.framework.core.util.TimeUtil;
import com.irdstudio.basic.framework.core.vo.BaseInfo;

/**
 * 
 * 系统规则执行结果表	
 * 
 * @author Cytus_
 * @since 2018年5月6日 下午3:40:21
 * @version 1.0
 *
 */
public class SRuleExeResult extends BaseInfo {

	private static final long serialVersionUID = 1L;	
	
	/** 业务流水号 */
	private String bizSerno;
	/** 规则ID */
	private String ruleId;
	/** 规则名称 */
	private String ruleName;
	/** 规则集ID */
	private String ruleCollId;
	/** 参数值 */
	private String paramVal;
	/** 执行值 */
	private String exeVal;
	/** 规则执行结果 */
	private String exeResult;
	/** 规则执行时间 */
	private String ruleExeDt;
	/** 创建日期 */
	private String createTime;
	/** 创建人 */
	private String createUser;
	

	public void setBizSerno(String bizSerno){
		this.bizSerno = bizSerno;
	}
	
	public String getBizSerno(){
		return this.bizSerno;
	}
	
	public void setRuleId(String ruleId){
		this.ruleId = ruleId;
	}
	
	public String getRuleId(){
		return this.ruleId;
	}
	
	public void setRuleName(String ruleName){
		this.ruleName = ruleName;
	}
	
	public String getRuleName(){
		return this.ruleName;
	}
	
	public void setRuleCollId(String ruleCollId){
		this.ruleCollId = ruleCollId;
	}
	
	public String getRuleCollId(){
		return this.ruleCollId;
	}
	
	public void setParamVal(String paramVal){
		this.paramVal = paramVal;
	}
	
	public String getParamVal(){
		return this.paramVal;
	}	
	
	public void setExeVal(String exeVal){
		this.exeVal = exeVal;
	}
	
	public String getExeVal(){
		return this.exeVal;
	}
	
	public void setExeResult(String exeResult){
		this.exeResult = exeResult;
	}
	
	public String getExeResult(){
		return this.exeResult;
	}
	
	public void setRuleExeDt(String ruleExeDt){
		this.ruleExeDt = ruleExeDt;
	}
	
	public String getRuleExeDt(){
		return this.ruleExeDt;
	}
	
	public void setCreateTime(String createTime){
		this.createTime = createTime;
	}
	
	public String getCreateTime(){
		return this.createTime;
	}		
	
	public void setCreateUser(String createUser){
		this.createUser = createUser;
	}
	
	public String getCreateUser(){
		return this.createUser;
	}	
	
	public final static SRuleExeResult createInRunning(String ruleId, String paramVal, String exeVal) {
		SRuleExeResult ruleExeResult = new SRuleExeResult();
		ruleExeResult.setRuleId(ruleId);
		ruleExeResult.setParamVal(paramVal);
		ruleExeResult.setExeVal(exeVal);
		ruleExeResult.setRuleExeDt(TimeUtil.getCurrentDateTime());
		return ruleExeResult;
	}

}
